package com.jiaai.pay.entitiy;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * TODO
 * </p>
 *
 * @author 佳爱网络科技
 * @version V1.0
 * @title VPay 充值订单
 * @since 2017/11/16
 */
public class  VPay  implements Serializable{

    /**
     * 订单号(最大支持32位)
     */
    private String outTradeNo;
    /**
     * 用户Id
     */

    private String mId;
    /**
     * 第三方支付订单号
     */

    private String transactionId;
    /**
     * 订单金额
     */
    private BigDecimal price;
    /**
     * 货币单位 (默认为RMB)
     */

    private String priceUnit="RMB";
    /**
     * 充值所对应的金币
     */
    private Integer gold;
    /**
     * 未打折的钻石数量
     */
    private Integer oldGold;
    /**
     * 支付方式 0爱吧收银台 1.支付宝 2.微信
     */
    private Integer channel=0;
    /**
     * 错误代码
     */
    private String errCode;
    /**
     * 错误代码描述
     */

    private String errCodeDes;
    /**
     * 业务结果  SUCCESS/FAIL
     */

    private String resultCode;
    /**
     * 订单开始时间
     */
    private Date time;
    /**
     * 订单完成时间
     */

    private Date timeEnd;

    private String mobile;
    /**
     * 结算日期
     */

    private Date settlementTime;
    /**
     * 结算状态(1已结算 0未结算)
     */
    private Integer settlementCode;

    private String verifyId;

    private String verifySecret;

    private Integer version;

    private Integer interfaceId;

    public Integer getInterfaceId() {
        return interfaceId;
    }

    public void setInterfaceId(Integer interfaceId) {
        this.interfaceId = interfaceId;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getVerifySecret() {
        return verifySecret;
    }

    public void setVerifySecret(String verifySecret) {
        this.verifySecret = verifySecret;
    }

    public String getVerifyId() {
        return verifyId;
    }

    public void setVerifyId(String verifyId) {
        this.verifyId = verifyId;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getmId() {
        return mId;
    }

    public void setmId(String mId) {
        this.mId = mId;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getPriceUnit() {
        return priceUnit;
    }

    public void setPriceUnit(String priceUnit) {
        this.priceUnit = priceUnit;
    }

    public Integer getGold() {
        return gold;
    }

    public void setGold(Integer gold) {
        this.gold = gold;
    }

    public Integer getOldGold() {
        return oldGold;
    }

    public void setOldGold(Integer oldGold) {
        this.oldGold = oldGold;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrCodeDes() {
        return errCodeDes;
    }

    public void setErrCodeDes(String errCodeDes) {
        this.errCodeDes = errCodeDes;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(Date timeEnd) {
        this.timeEnd = timeEnd;
    }

    public Date getSettlementTime() {
        return settlementTime;
    }

    public void setSettlementTime(Date settlementTime) {
        this.settlementTime = settlementTime;
    }

    public Integer getSettlementCode() {
        return settlementCode;
    }

    public void setSettlementCode(Integer settlementCode) {
        this.settlementCode = settlementCode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
